package com.chixing.day02;

public class MethodDemo {
    //void：方法没有返回值
    public void add1(int x,int y){
        int sum =x+y;
    }

    //void：方法没有返回值
    public int add2(int x,int y){
        int sum =x+y;
        return sum;
    }
    //返回long类型
    public long getTelno(){
        return 1145141919;
    }

    //方法名+参数列表+返回值
    public void arraySort(int[] original){

    }
}
